package com.yuebook.smartrpc.framework.spring;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author honglei
 * @date 2018/11/19 下午4:00
 */
public class SmartRpcNameSpaceHandler extends NamespaceHandlerSupport {

    @Override
    public void init() {
        registerBeanDefinitionParser("service", new ProviderBeanDefinitionParser());
        registerBeanDefinitionParser("reference", new InvokerBeanDefinitionParser());
    }
}
